package cn.hongwei.mall.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.hongwei.mall.common.bean.PageResultVo;
import cn.hongwei.mall.common.bean.PageParamVo;
import cn.hongwei.mall.pms.entity.CategoryEntity;

import java.util.List;

/**
 * 商品三级分类
 *
 * @author Great
 * @email 1224028994@qq.com
 * @date 2022-03-14 20:29:04
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageResultVo queryPage(PageParamVo paramVo);

    /**
     * 根据父分类id查询所有子分类
     * @param parentId
     * @return
     */
    List<CategoryEntity> querySubsCategoryByParentId(Long parentId);
}

